package org.geektimes.configuration.microprofile.config.source;

import java.util.Map;

public class SystemEnvPropertiesConfigSource extends MapBasedConfigSource{

    public SystemEnvPropertiesConfigSource(){
        super("System Environment Properties",300);
    }

    @Override
    protected void prepareConfigData(Map configData) throws Throwable {
        Map<String, String> properties = System.getenv();
        configData.putAll(properties);
    }

}
